package com.niuwa.p2p.entity.fund;

import java.math.BigDecimal;
import java.util.Date;

public class CustAccount {
    private String accountNo;

    private Long custId;

    private BigDecimal collectingPrincipal;

    private BigDecimal collectingRevenue;

    private BigDecimal forzenAmount;

    private String accountStatus;

    private BigDecimal collectedPrincipal;

    private BigDecimal collectedRevenue;

    private BigDecimal usableBalance;

    private String investFlg;

    private String loanFlg;


    private Date updateTime;

    private Date lockTime;

    private String isDefault;

    private Long custRuleId;

    private BigDecimal withdrewAmount;
    
    private BigDecimal allInvestAmount;//累投金额
    
    private BigDecimal allRechargeAmount;//累计充值金额
    
    private long version;
    
    
    public BigDecimal getAllInvestAmount() {
		return allInvestAmount;
	}

	public void setAllInvestAmount(BigDecimal allInvestAmount) {
		this.allInvestAmount = allInvestAmount;
	}

	public String getAccountNo() {
        return accountNo;
    }

    public void setAccountNo(String accountNo) {
        this.accountNo = accountNo == null ? null : accountNo.trim();
    }

    public Long getCustId() {
        return custId;
    }

    public void setCustId(Long custId) {
        this.custId = custId;
    }

    public BigDecimal getCollectingPrincipal() {
        return collectingPrincipal;
    }

    public void setCollectingPrincipal(BigDecimal collectingPrincipal) {
        this.collectingPrincipal = collectingPrincipal;
    }

    public BigDecimal getCollectingRevenue() {
        return collectingRevenue;
    }

    public void setCollectingRevenue(BigDecimal collectingRevenue) {
        this.collectingRevenue = collectingRevenue;
    }

    public BigDecimal getForzenAmount() {
        return forzenAmount;
    }

    public void setForzenAmount(BigDecimal forzenAmount) {
        this.forzenAmount = forzenAmount;
    }

    public String getAccountStatus() {
        return accountStatus;
    }

    public void setAccountStatus(String accountStatus) {
        this.accountStatus = accountStatus == null ? null : accountStatus.trim();
    }

    public BigDecimal getCollectedPrincipal() {
        return collectedPrincipal;
    }

    public void setCollectedPrincipal(BigDecimal collectedPrincipal) {
        this.collectedPrincipal = collectedPrincipal;
    }

    public BigDecimal getCollectedRevenue() {
        return collectedRevenue;
    }

    public void setCollectedRevenue(BigDecimal collectedRevenue) {
        this.collectedRevenue = collectedRevenue;
    }

    public BigDecimal getUsableBalance() {
        return usableBalance;
    }

    public void setUsableBalance(BigDecimal usableBalance) {
        this.usableBalance = usableBalance;
    }

    public String getInvestFlg() {
        return investFlg;
    }

    public void setInvestFlg(String investFlg) {
        this.investFlg = investFlg == null ? null : investFlg.trim();
    }

    public String getLoanFlg() {
        return loanFlg;
    }

    public void setLoanFlg(String loanFlg) {
        this.loanFlg = loanFlg == null ? null : loanFlg.trim();
    }


    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getLockTime() {
        return lockTime;
    }

    public void setLockTime(Date lockTime) {
        this.lockTime = lockTime;
    }

    public String getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(String isDefault) {
        this.isDefault = isDefault == null ? null : isDefault.trim();
    }

    public Long getCustRuleId() {
        return custRuleId;
    }

    public void setCustRuleId(Long custRuleId) {
        this.custRuleId = custRuleId;
    }

    public BigDecimal getWithdrewAmount() {
        return withdrewAmount;
    }

    public void setWithdrewAmount(BigDecimal withdrewAmount) {
        this.withdrewAmount = withdrewAmount;
    }

	public BigDecimal getAllRechargeAmount() {
		return allRechargeAmount;
	}

	public void setAllRechargeAmount(BigDecimal allRechargeAmount) {
		this.allRechargeAmount = allRechargeAmount;
	}

	public long getVersion() {
		return version;
	}

	public void setVersion(long version) {
		this.version = version;
	}
    
    
}